package jfprincesstests.fakes.automata;

import jfuzzyprincepless.zarchive.FSM.INode;
import jfuzzyprincepless.zarchive.FSM.Outcome;
import jfuzzyprincepless.negotiation.INegotiationContext;

public class FakeOutcome extends Outcome {
	private StringBuilder sb;

	public FakeOutcome(INode dest, StringBuilder sb) {
		super(dest);
		this.sb = sb;
	}

	@Override
	public void onWalk(
		INode cur,
		INegotiationContext context
	) {
		sb  .append(";walk: ").append(cur)
			.append("->").append(getDestination());
	}
}
